package com.kuke.kukeuser.service.impl;

import com.kuke.kukeuser.entity.User;
import com.kuke.kukeuser.mapper.UserMapper;
import com.kuke.kukeuser.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *  serviceimpl
 *
 * @author kuke
 * @since 2021-08-18
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public User getUserByPhone(String phone) {
        return userMapper.getUserByPhone(phone);
    }
}
